<template>
  <div class="w-sets">
    <div class="w-sets-title">
      <h1>欢迎您，<span class="info-nickname">{{ getUserName }}</span></h1>
      <div class="w-sets-title-side">
      </div>
    </div>
    <div class="w-sets-container" id="step-showTips">
      <div class="cl-step-showTips-start"><a href="javascript:void(0);" data-title="知道了"
                                             class="btn PNG_24"></a></div>
      <ul class="t-teacher-home-task" id="homeworkItemContainer">


        <li class="t-teacher-home-item t-teacher-home-item-first home-card-homeworkList"
            data-for-log="homeworkList">
          <div class="cl-step-showTips-text"></div>
          <div class="t-treeType-box">
            <h2 class="t-treeType-title">
              作业发布和检查情况
            </h2>
            <div class="t-treeType-item">
              <ul id="course-status">

              </ul>
            </div>
            <div class="t-treeType-btn">
              <a href="/homework_post"
                 class="w-btn w-btn-red w-circular-5 w-border-red">布置新作业</a>
            </div>
          </div>
        </li>

        <li class="t-teacher-home-item">
          <div class="cl-step-showTips-text"></div>
          <div class="t-treeType-box">
            <h2 class="t-treeType-title" style="margin-top: 10px">新题推荐</h2>
            <div class="t-treeType-item">
              <ul id="course-new-question">

              </ul>
            </div>
            <div class="t-treeType-btn">
              <a target=""
                 href="/source"
                 class="w-btn w-btn-cyan w-circular-5 w-border-cyan">去看资源库</a>
            </div>
          </div>
        </li>

        <li class="t-teacher-home-item  home-card-bindingWeChat" data-for-log="bindingWeChat">
          <div class="t-treeType-box">
            <div data-title="下载APP">
              <h2 class="t-treeType-title">下载APP</h2>
              <div class="t-treeType-fire"
                   style="background-image: url(static/public/images/二维码.jpg);width: 200px;height: 200px;margin: 0 auto"></div>
              <div class="t-treeType-item" style="padding: 15px 0 0 15px;">

              </div>
              <div class="t-treeType-btn">
                <a href="预定留别的" target="_blank"
                   class="w-btn">立即下载</a>
              </div>
            </div>
          </div>
        </li>
      </ul>
    </div>
  </div>

</template>

<script>
  export default {
    computed: {
      getUserName() {
        return this.$store.state.user.nickname
      }
    }
  }
</script>
